home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 121
/
FreelogMagazineJuilletAout2014-No121.iso
/
Outils
/
Adobe-Air
/
adobe-air_13.exe
/
[0]
/
setup.swf
/
scripts
/
mx
/
styles
/
StyleManager.as
< prev
next >
Wrap
Text File
|
2014-03-27
|
5KB
|
178 lines
package mx.styles
{
import flash.events.IEventDispatcher;
import flash.system.ApplicationDomain;
import flash.system.SecurityDomain;
import mx.core.Singleton;
import mx.core.mx_internal;
use namespace mx_internal;
public class StyleManager
{
private static var _impl:IStyleManager2;
private static var implClassDependency:StyleManagerImpl;
mx_internal static const VERSION:String = "3.0.0.0";
public static const NOT_A_COLOR:uint = 4294967295;
public function StyleManager()
{
super();
}
public static function isParentSizeInvalidatingStyle(param1:String) : Boolean
{
return impl.isParentSizeInvalidatingStyle(param1);
}
public static function registerInheritingStyle(param1:String) : void
{
impl.registerInheritingStyle(param1);
}
mx_internal static function set stylesRoot(param1:Object) : void
{
impl.stylesRoot = param1;
}
mx_internal static function get inheritingStyles() : Object
{
return impl.inheritingStyles;
}
mx_internal static function styleDeclarationsChanged() : void
{
impl.styleDeclarationsChanged();
}
public static function setStyleDeclaration(param1:String, param2:CSSStyleDeclaration, param3:Boolean) : void
{
impl.setStyleDeclaration(param1,param2,param3);
}
public static function registerParentDisplayListInvalidatingStyle(param1:String) : void
{
impl.registerParentDisplayListInvalidatingStyle(param1);
}
mx_internal static function get typeSelectorCache() : Object
{
return impl.typeSelectorCache;
}
mx_internal static function set inheritingStyles(param1:Object) : void
{
impl.inheritingStyles = param1;
}
public static function isColorName(param1:String) : Boolean
{
return impl.isColorName(param1);
}
public static function isParentDisplayListInvalidatingStyle(param1:String) : Boolean
{
return impl.isParentDisplayListInvalidatingStyle(param1);
}
public static function isSizeInvalidatingStyle(param1:String) : Boolean
{
return impl.isSizeInvalidatingStyle(param1);
}
public static function getColorName(param1:Object) : uint
{
return impl.getColorName(param1);
}
mx_internal static function set typeSelectorCache(param1:Object) : void
{
impl.typeSelectorCache = param1;
}
public static function unloadStyleDeclarations(param1:String, param2:Boolean = true) : void
{
impl.unloadStyleDeclarations(param1,param2);
}
public static function getColorNames(param1:Array) : void
{
impl.getColorNames(param1);
}
public static function loadStyleDeclarations(param1:String, param2:Boolean = true, param3:Boolean = false, param4:ApplicationDomain = null, param5:SecurityDomain = null) : IEventDispatcher
{
return impl.loadStyleDeclarations2(param1,param2,param4,param5);
}
private static function get impl() : IStyleManager2
{
if(!_impl)
{
_impl = IStyleManager2(Singleton.getInstance("mx.styles::IStyleManager2"));
}
return _impl;
}
public static function isValidStyleValue(param1:*) : Boolean
{
return impl.isValidStyleValue(param1);
}
mx_internal static function get stylesRoot() : Object
{
return impl.stylesRoot;
}
public static function isInheritingStyle(param1:String) : Boolean
{
return impl.isInheritingStyle(param1);
}
mx_internal static function initProtoChainRoots() : void
{
impl.initProtoChainRoots();
}
public static function registerParentSizeInvalidatingStyle(param1:String) : void
{
impl.registerParentSizeInvalidatingStyle(param1);
}
public static function get selectors() : Array
{
return impl.selectors;
}
public static function registerSizeInvalidatingStyle(param1:String) : void
{
impl.registerSizeInvalidatingStyle(param1);
}
public static function clearStyleDeclaration(param1:String, param2:Boolean) : void
{
impl.clearStyleDeclaration(param1,param2);
}
public static function registerColorName(param1:String, param2:uint) : void
{
impl.registerColorName(param1,param2);
}
public static function isInheritingTextFormatStyle(param1:String) : Boolean
{
return impl.isInheritingTextFormatStyle(param1);
}
public static function getStyleDeclaration(param1:String) : CSSStyleDeclaration
{
return impl.getStyleDeclaration(param1);
}
}
}